from rest_framework import routers
from .views import ProjectViewSet,ConfigViewSet

router = routers.SimpleRouter()
# 显式指定唯一的 basename
router.register("project", ProjectViewSet, basename="project")  # 项目
router.register("config", ConfigViewSet, basename="config")        # 配置

urlpatterns = router.urls
